package com.ruicar.afs.cloud.afscase.autoaudit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.afscase.autoaudit.condition.LoanRiskTipsRuleCondition;
import com.ruicar.afs.cloud.afscase.autoaudit.entity.LoanRiskTipsRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 放款风险提示规则接口
 * @Author: tiankai
 * @Date: 2020/7/18 20:11
 */
public interface LoanRiskTipsRuleMapper extends BaseMapper<LoanRiskTipsRule> {

    /**
     * @Describe 附件规则信息查询(分页)
     * Created on 2020-07-23
     * @author tiankai
     */
    IPage<List<LoanRiskTipsRuleCondition>> getLoanRuleInfo(Page page, @Param("query") LoanRiskTipsRuleCondition condition);
}
